package model;


/**
 * Classe astratta genitore di {@link Hub} e {@link NetworkInterface}.
 * 
 * @author Dumella De Rosa Gennaro
 *
 */
public abstract class Device {

	protected String id;

	public Device(String name) {
		this.id = name;
	}

	public void setName(String name) {
		this.id = name;
	}

	public String getName() {
		return id;
	}
	
}
